package com.xhsj.user.sms.purchase.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xhsj.user.sms.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 采购订单-质检记录表
 * </p>
 *
 * @author suxiaolin
 * @since 2020-04-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tb_purchase_subtask_quality_record")
public class TbPurchaseSubtaskQualityRecord extends BaseEntity<TbPurchaseSubtaskQualityRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * purchase_task_id
     */
    @TableField("purchase_task_id")
    private String purchaseTaskId;

    /**
     * 采购订单主表id
     */
    @TableField("purchase_order_id")
    private String purchaseOrderId;

    /**
     * 采购订单子任务表id
     */
    @TableField("purchase_subtask_id")
    private String purchaseSubtaskId;
//
    /**
     * 采购订单子任务表清单商品id
     */
    @TableField("purchase_subtask_list_id")
    private String purchaseSubtaskListId;

    /**
     * 良品数量
     */
    @TableField("good_number")
    private int goodNumber;

    /**
     * 特采数量
     */
    @TableField("special_number")
    private int specialNumber;

    /**
     * 退/换货数量
     */
    @TableField("return_number")
    private int returnNumber;

    /**
     * 退货数量
     */
    @TableField("back_number")
    private int backNumber;

    /**
     * 退货数量
     */
    @TableField("storage_status")
    private int storageStatus;
    /**
     * 批次（区分质检次数也是质检第几次,也是为了区分每次对应的质检单）
     */
    @TableField("batch")
    private int batch;


}
